﻿<%@ Page Language="C#" EnableEventValidation="false" AutoEventWireup="false" CodeFile="GroupByGasolineraTable.aspx.cs" Culture="es-ES" MasterPageFile="../Master Pages/HorizontalMenu.master" Inherits="EnGasAdoAPP.UI.GroupByGasolineraTable" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Tagprefix="EnGasAdoAPP" TagName="PaginationMedium" Src="../Shared/PaginationMedium.ascx" %>

<%@ Register Tagprefix="EnGasAdoAPP" TagName="ThemeButton" Src="../Shared/ThemeButton.ascx" %>

<%@ Register Tagprefix="EnGasAdoAPP" Namespace="EnGasAdoAPP.UI.Controls.GroupByGasolineraTable" %>

<%@ Register Tagprefix="Selectors" Namespace="EnGasAdoAPP" %>

<%@ Register Tagprefix="BaseClasses" Namespace="BaseClasses.Web.UI.WebControls" Assembly="BaseClasses" %><asp:Content id="PageSection" ContentPlaceHolderID="PageContent" Runat="server">
    <a id="StartOfPageContent"></a>
    <asp:UpdateProgress runat="server" id="UpdatePanel1_UpdateProgress1" AssociatedUpdatePanelID="UpdatePanel1">
			<ProgressTemplate>
				<div class="ajaxUpdatePanel">
				</div>
				<div style=" position:absolute; padding:30px;">
					<img src="../Images/updating.gif" alt="Updating" />
				</div>
			</ProgressTemplate>
		</asp:UpdateProgress>
		<asp:UpdatePanel runat="server" id="UpdatePanel1" UpdateMode="Conditional">
			<ContentTemplate>
				<input type="hidden" id="_clientSideIsPostBack" name="clientSideIsPostBack" runat="server" />

                <table cellpadding="0" cellspacing="0" border="0"><tr><td>
                        <EnGasAdoAPP:GasolineraTableControl runat="server" id="GasolineraTableControl">	<table class="dv" cellpadding="0" cellspacing="0" border="0"><tr><td class="dh"><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="dhel"><img src="../Images/space.gif" alt="" /></td><td class="dhb"><table cellpadding="0" cellspacing="0" border="0"><tr><td class="dht" valign="middle"><asp:Literal runat="server" id="GasolineraTitle" Text="&lt;%#String.Concat(&quot;Gasolinera&quot;) %>">	</asp:Literal></td></tr></table>
</td><td class="dher"><img src="../Images/space.gif" alt="" /></td></tr></table>
</td></tr><tr><td><asp:panel id="GasolineraTableControlCollapsibleRegion" runat="server"><table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><table cellpadding="0" cellspacing="0" border="0"><tr><td class="fila"><%# GetResourceValue("Txt:SearchFor", "EnGasAdoAPP") %></td><td><%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControlRecursively("GasolineraSearchButton"))%>
<asp:TextBox runat="server" id="GasolineraSearch" columns="50" cssclass="Search_Input">	</asp:TextBox>
<asp:AutoCompleteExtender id="GasolineraSearchAutoCompleteExtender" runat="server" TargetControlID="GasolineraSearch" ServiceMethod="GetAutoCompletionList_GasolineraSearch" MinimumPrefixLength="2" CompletionInterval="700" CompletionSetCount="10" CompletionListCssClass="autotypeahead_completionListElement" CompletionListItemCssClass="autotypeahead_listItem " CompletionListHighlightedItemCssClass="autotypeahead_highlightedListItem">
</asp:AutoCompleteExtender>
<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControlRecursively("GasolineraSearchButton"))%>
</td><td class="filbc"><EnGasAdoAPP:ThemeButton runat="server" id="GasolineraSearchButton" button-causesvalidation="False" button-commandname="Search" button-text="&lt;%# GetResourceValue(&quot;Btn:SearchGoButtonText&quot;, &quot;EnGasAdoAPP&quot;) %>" button-tooltip="&lt;%# GetResourceValue(&quot;Btn:SearchGoButtonText&quot;, &quot;EnGasAdoAPP&quot;) %>" postback="False"></EnGasAdoAPP:ThemeButton></td></tr><tr><td class="fila"><asp:Literal runat="server" id="Nombre_GasolineraLabel1" Text="Nombre Gasolinera">	</asp:Literal></td><td><%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControlRecursively("GasolineraFilterButton"))%>
<asp:DropDownList runat="server" id="Nombre_GasolineraFilter" autopostback="True" cssclass="Filter_Input" onkeypress="dropDownListTypeAhead(this,false)">	</asp:DropDownList><%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControlRecursively("GasolineraFilterButton"))%>
</td><td class="filbc" rowspan="2"></td></tr><tr><td class="fila"><asp:Literal runat="server" id="ID_marcaLabel1" Text="ID Marca">	</asp:Literal></td><td><%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControlRecursively("GasolineraFilterButton"))%>
<asp:DropDownList runat="server" id="ID_marcaFilter" autopostback="True" cssclass="Filter_Input" onkeypress="dropDownListTypeAhead(this,false)">	</asp:DropDownList><%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControlRecursively("GasolineraFilterButton"))%>
</td></tr></table>
</td></tr><tr><td class="pr"><table cellpadding="0" cellspacing="0" border="0" style="width: 100%;"><tr><td><img src="../Images/paginationRowEdgeL.gif" alt="" /></td><td class="prbbc"><img src="../Images/ButtonBarEdgeL.gif" alt="" /></td><td class="prbbc"><img src="../Images/ButtonBarDividerL.gif" alt="" /></td><td class="prbbc"><asp:ImageButton runat="server" id="GasolineraNewButton" causesvalidation="False" commandname="Redirect" imageurl="../Images/ButtonBarNew.gif" onmouseout="this.src='../Images/ButtonBarNew.gif'" onmouseover="this.src='../Images/ButtonBarNewOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="GasolineraDeleteButton" causesvalidation="False" commandname="DeleteRecord" imageurl="../Images/ButtonBarDelete.gif" onmouseout="this.src='../Images/ButtonBarDelete.gif'" onmouseover="this.src='../Images/ButtonBarDeleteOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Delete&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="GasolineraExportExcelButton" causesvalidation="False" commandname="ExportDataExcel" imageurl="../Images/ButtonBarExcelExport.gif" onmouseout="this.src='../Images/ButtonBarExcelExport.gif'" onmouseover="this.src='../Images/ButtonBarExcelExportOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:ExportExcel&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="GasolineraImportButton" causesvalidation="False" commandname="ImportCSV" imageurl="../Images/ButtonBarImport.gif" onmouseout="this.src='../Images/ButtonBarImport.gif'" onmouseover="this.src='../Images/ButtonBarImportOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Import&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="prbbc"><img src="../Images/ButtonBarDividerR.gif" alt="" /></td><td class="prspace"><img src="../Images/ButtonBarEdgeR.gif" alt="" /></td><td class="pra"><EnGasAdoAPP:PaginationMedium runat="server" id="GasolineraPagination"></EnGasAdoAPP:PaginationMedium>
<!--To change the position of the pagination control, please search for "prspace" on the Online Help for instruction. -->
                      </td><td><img src="../Images/paginationRowEdgeR.gif" alt="" /></td><td></td></tr></table>
</td></tr><tr><td class="tre"><table cellpadding="0" cellspacing="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)"><tr class="tch"><th class="thcnb" colspan="5"><img src="../Images/space.gif" height="1" width="1" alt="" /></th><th class="thcwb" style="padding:0px;vertical-align:middle;"><asp:CheckBox runat="server" id="GasolineraToggleAll" onclick="toggleAllCheckboxes(this);">	</asp:CheckBox></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="Nombre_GasolineraLabel" tooltip="Sort by Nombre_Gasolinera" Text="Nombre Gasolinera" CausesValidation="False">	</asp:LinkButton>
                        </th><th class="thc" scope="col"><asp:LinkButton runat="server" id="latitudLabel" tooltip="Sort by latitud" Text="Latitud" CausesValidation="False">	</asp:LinkButton>
                        </th><th class="thc" scope="col"><asp:LinkButton runat="server" id="longitudLabel" tooltip="Sort by longitud" Text="Longitud" CausesValidation="False">	</asp:LinkButton>
                        </th><th class="thc" scope="col"><asp:LinkButton runat="server" id="GEOLocalisacionLabel" tooltip="Sort by GEOLocalisacion" Text="GEO Localisacion" CausesValidation="False">	</asp:LinkButton>
                        </th><th class="thc" scope="col"><asp:LinkButton runat="server" id="DescripcionLabel" tooltip="Sort by Descripcion" Text="Descripcion" CausesValidation="False">	</asp:LinkButton>
                        </th><th class="thc" scope="col"><asp:LinkButton runat="server" id="ObservacionesLabel" tooltip="Sort by Observaciones" Text="Observaciones" CausesValidation="False">	</asp:LinkButton>
                        </th><th class="thc" scope="col"><asp:LinkButton runat="server" id="ID_marcaLabel" tooltip="Sort by ID_marca" Text="ID Marca" CausesValidation="False">	</asp:LinkButton>
                        </th></tr><asp:Repeater runat="server" id="GasolineraTableControlRepeater">		<ITEMTEMPLATE>		<EnGasAdoAPP:GasolineraTableControlRow runat="server" id="GasolineraTableControlRow">
<tr><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="GasolineraRowExpandCollapseRowButton" causesvalidation="False" commandname="ExpandCollapseRow" cssclass="button_link" imageurl="../Images/icon_expandcollapserow.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:ExpandCollapseRow&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="GasolineraRowViewButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_view.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:ViewRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="GasolineraRowEditButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_edit.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:EditRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="GasolineraRowCopyButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_copy.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:CopyRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticnb" scope="row"><asp:ImageButton runat="server" id="GasolineraRowDeleteButton" causesvalidation="False" commandname="DeleteRecord" cssclass="button_link" imageurl="../Images/icon_delete.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:DeleteRecord&quot;, &quot;EnGasAdoAPP&quot;) %>">		
	</asp:ImageButton></td><td class="ticwb"><asp:CheckBox runat="server" id="GasolineraRecordRowSelection" onclick="moveToThisTableRow(this);">	</asp:CheckBox></td><td class="ttc"><asp:Literal runat="server" id="Nombre_Gasolinera"></asp:Literal> </td><td class="ttc" style="text-align: right;"><asp:Literal runat="server" id="latitud"></asp:Literal> </td><td class="ttc" style="text-align: right;"><asp:Literal runat="server" id="longitud"></asp:Literal> </td><td class="ttc"><asp:Literal runat="server" id="GEOLocalisacion"></asp:Literal> </td><td class="ttc"><asp:Literal runat="server" id="Descripcion"></asp:Literal> </td><td class="ttc"><asp:Literal runat="server" id="Observaciones"></asp:Literal> </td><td class="ttc"><asp:LinkButton runat="server" id="ID_marca" causesvalidation="False" commandname="Redirect"></asp:LinkButton> </td></tr><tr id="GasolineraTableControlAltRow" runat="server"><td class="ticnb" scope="row">&nbsp;</td><td class="ticnb" scope="row">&nbsp;</td><td class="ticnb" scope="row">&nbsp;</td><td class="ticnb" scope="row">&nbsp;</td><td class="ticnb" scope="row">&nbsp;</td><td class="ticwb">&nbsp;</td><td class="ttc" colspan="7"><asp:TabContainer runat="server" id="GasolineraTabContainer">
 <asp:TabPanel runat="server" id="GasolineraXTipoGasolineraTabPanel" HeaderText="Gasolinera X Tipo Gasolinera">	<ContentTemplate>
  <EnGasAdoAPP:GasolineraXTipoGasolineraTableControl runat="server" id="GasolineraXTipoGasolineraTableControl">	<table class="dv" cellpadding="0" cellspacing="0" border="0"><tr><td><asp:panel id="GasolineraXTipoGasolineraTableControlCollapsibleRegion" runat="server"><table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="pr"><table cellpadding="0" cellspacing="0" border="0" style="width: 100%;"><tr><td><img src="../Images/paginationRowEdgeL.gif" alt="" /></td><td class="prspace">&nbsp;</td><td class="pra"><EnGasAdoAPP:PaginationMedium runat="server" id="GasolineraXTipoGasolineraPagination"></EnGasAdoAPP:PaginationMedium>
<!--To change the position of the pagination control, please search for "prspace" on the Online Help for instruction. -->
                      </td><td><img src="../Images/paginationRowEdgeR.gif" alt="" /></td><td></td></tr></table>
</td></tr><tr><td class="tre"><table cellpadding="0" cellspacing="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)"><tr class="tch"><th class="thc" scope="col"><asp:LinkButton runat="server" id="ID_Tipo_ServicioLabel" tooltip="Sort by ID_Tipo_Servicio" Text="ID Tipo Servicio" CausesValidation="False">	</asp:LinkButton>
                        </th></tr><asp:Repeater runat="server" id="GasolineraXTipoGasolineraTableControlRepeater">		<ITEMTEMPLATE>		<EnGasAdoAPP:GasolineraXTipoGasolineraTableControlRow runat="server" id="GasolineraXTipoGasolineraTableControlRow">
<tr><td class="ttc"><asp:LinkButton runat="server" id="ID_Tipo_Servicio" causesvalidation="False" commandname="Redirect"></asp:LinkButton> </td></tr></EnGasAdoAPP:GasolineraXTipoGasolineraTableControlRow>
</ITEMTEMPLATE>

</asp:Repeater>
</table>
</td></tr></table>
</asp:panel></td></tr></table>
</EnGasAdoAPP:GasolineraXTipoGasolineraTableControl>

 </ContentTemplate></asp:TabPanel>
 <asp:TabPanel runat="server" id="Tbl_gasolinera_x_rutaTabPanel" HeaderText="Gasolinera X Ruta">	<ContentTemplate>
  <EnGasAdoAPP:Tbl_gasolinera_x_rutaTableControl runat="server" id="Tbl_gasolinera_x_rutaTableControl">	<table class="dv" cellpadding="0" cellspacing="0" border="0"><tr><td><asp:panel id="Tbl_gasolinera_x_rutaTableControlCollapsibleRegion" runat="server"><table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="pr"><table cellpadding="0" cellspacing="0" border="0" style="width: 100%;"><tr><td><img src="../Images/paginationRowEdgeL.gif" alt="" /></td><td class="prspace">&nbsp;</td><td class="pra"><EnGasAdoAPP:PaginationMedium runat="server" id="Tbl_gasolinera_x_rutaPagination"></EnGasAdoAPP:PaginationMedium>
<!--To change the position of the pagination control, please search for "prspace" on the Online Help for instruction. -->
                      </td><td><img src="../Images/paginationRowEdgeR.gif" alt="" /></td><td></td></tr></table>
</td></tr><tr><td class="tre"><table cellpadding="0" cellspacing="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)"><tr class="tch"><th class="thc" scope="col"><asp:LinkButton runat="server" id="id_rutaLabel" tooltip="Sort by id_ruta" Text="ID Ruta" CausesValidation="False">	</asp:LinkButton>
                        </th></tr><asp:Repeater runat="server" id="Tbl_gasolinera_x_rutaTableControlRepeater">		<ITEMTEMPLATE>		<EnGasAdoAPP:Tbl_gasolinera_x_rutaTableControlRow runat="server" id="Tbl_gasolinera_x_rutaTableControlRow">
<tr><td class="ttc"><asp:LinkButton runat="server" id="id_ruta" causesvalidation="False" commandname="Redirect"></asp:LinkButton> </td></tr></EnGasAdoAPP:Tbl_gasolinera_x_rutaTableControlRow>
</ITEMTEMPLATE>

</asp:Repeater>
</table>
</td></tr></table>
</asp:panel></td></tr></table>
</EnGasAdoAPP:Tbl_gasolinera_x_rutaTableControl>

 </ContentTemplate></asp:TabPanel>
 <asp:TabPanel runat="server" id="Tbl_usuario_x_gasolineraTabPanel" HeaderText="Usuario X Gasolinera">	<ContentTemplate>
  <EnGasAdoAPP:Tbl_usuario_x_gasolineraTableControl runat="server" id="Tbl_usuario_x_gasolineraTableControl">	<table class="dv" cellpadding="0" cellspacing="0" border="0"><tr><td><asp:panel id="Tbl_usuario_x_gasolineraTableControlCollapsibleRegion" runat="server"><table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="pr"><table cellpadding="0" cellspacing="0" border="0" style="width: 100%;"><tr><td><img src="../Images/paginationRowEdgeL.gif" alt="" /></td><td class="prspace">&nbsp;</td><td class="pra"><EnGasAdoAPP:PaginationMedium runat="server" id="Tbl_usuario_x_gasolineraPagination"></EnGasAdoAPP:PaginationMedium>
<!--To change the position of the pagination control, please search for "prspace" on the Online Help for instruction. -->
                      </td><td><img src="../Images/paginationRowEdgeR.gif" alt="" /></td><td></td></tr></table>
</td></tr><tr><td class="tre"><table cellpadding="0" cellspacing="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)"><tr class="tch"><th class="thc" scope="col"><asp:LinkButton runat="server" id="id_usuarioLabel" tooltip="Sort by id_usuario" Text="ID Usuario" CausesValidation="False">	</asp:LinkButton>
                        </th></tr><asp:Repeater runat="server" id="Tbl_usuario_x_gasolineraTableControlRepeater">		<ITEMTEMPLATE>		<EnGasAdoAPP:Tbl_usuario_x_gasolineraTableControlRow runat="server" id="Tbl_usuario_x_gasolineraTableControlRow">
<tr><td class="ttc"><asp:LinkButton runat="server" id="id_usuario" causesvalidation="False" commandname="Redirect"></asp:LinkButton> </td></tr></EnGasAdoAPP:Tbl_usuario_x_gasolineraTableControlRow>
</ITEMTEMPLATE>

</asp:Repeater>
</table>
</td></tr></table>
</asp:panel></td></tr></table>
</EnGasAdoAPP:Tbl_usuario_x_gasolineraTableControl>

 </ContentTemplate></asp:TabPanel>
 <asp:TabPanel runat="server" id="PrecioTabPanel" HeaderText="Precio">	<ContentTemplate>
  <EnGasAdoAPP:PrecioTableControl runat="server" id="PrecioTableControl">	<table class="dv" cellpadding="0" cellspacing="0" border="0"><tr><td><asp:panel id="PrecioTableControlCollapsibleRegion" runat="server"><table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="pr"><table cellpadding="0" cellspacing="0" border="0" style="width: 100%;"><tr><td><img src="../Images/paginationRowEdgeL.gif" alt="" /></td><td class="prspace">&nbsp;</td><td class="pra"><EnGasAdoAPP:PaginationMedium runat="server" id="PrecioPagination"></EnGasAdoAPP:PaginationMedium>
<!--To change the position of the pagination control, please search for "prspace" on the Online Help for instruction. -->
                      </td><td><img src="../Images/paginationRowEdgeR.gif" alt="" /></td><td></td></tr></table>
</td></tr><tr><td class="tre"><table cellpadding="0" cellspacing="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)"><tr class="tch"><th class="thc" scope="col"><asp:LinkButton runat="server" id="fechaLabel" tooltip="Sort by fecha" Text="Fecha" CausesValidation="False">	</asp:LinkButton>
                        </th><th class="thc" scope="col"><asp:LinkButton runat="server" id="precioLabel" tooltip="Sort by precio" Text="Precio" CausesValidation="False">	</asp:LinkButton>
                        </th><th class="thc" scope="col"><asp:LinkButton runat="server" id="ID_Tipo_gasolinaLabel" tooltip="Sort by ID_Tipo_gasolina" Text="ID Tipo Gasolina" CausesValidation="False">	</asp:LinkButton>
                        </th></tr><asp:Repeater runat="server" id="PrecioTableControlRepeater">		<ITEMTEMPLATE>		<EnGasAdoAPP:PrecioTableControlRow runat="server" id="PrecioTableControlRow">
<tr><td class="ttc"><asp:Literal runat="server" id="fecha"></asp:Literal> </td><td class="ttc" style="text-align: right;"><asp:Literal runat="server" id="precio"></asp:Literal> </td><td class="ttc"><asp:LinkButton runat="server" id="ID_Tipo_gasolina" causesvalidation="False" commandname="Redirect"></asp:LinkButton> </td></tr></EnGasAdoAPP:PrecioTableControlRow>
</ITEMTEMPLATE>

</asp:Repeater>
</table>
</td></tr></table>
</asp:panel></td></tr></table>
</EnGasAdoAPP:PrecioTableControl>

 </ContentTemplate></asp:TabPanel>
</asp:TabContainer></td></tr></EnGasAdoAPP:GasolineraTableControlRow>
</ITEMTEMPLATE>

</asp:Repeater>
</table>
</td></tr></table>
</asp:panel></td></tr></table>
</EnGasAdoAPP:GasolineraTableControl>

            </td></tr></table>
    </ContentTemplate>
</asp:UpdatePanel>

    <div id="detailPopup" class="detailRolloverPopup" onmouseout="detailRolloverPopupClose();" onmouseover="clearTimeout(gPopupTimer);"></div>
    <asp:ValidationSummary id="ValidationSummary1" ShowMessageBox="true" ShowSummary="false" runat="server"></asp:ValidationSummary>
</asp:Content>
                